
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont ibsp-iconfontadd"></i>
                    <div class="name">加号</div>
                    <div class="fontclass">.ibsp-iconfontadd</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-iconfontmove"></i>
                    <div class="name">减号</div>
                    <div class="fontclass">.ibsp-iconfontmove</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-shizhong"></i>
                    <div class="name">时钟</div>
                    <div class="fontclass">.ibsp-shizhong</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-calendar"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.ibsp-calendar</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-shuaxin"></i>
                    <div class="name">刷新</div>
                    <div class="fontclass">.ibsp-shuaxin</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-chaxun"></i>
                    <div class="name">查询</div>
                    <div class="fontclass">.ibsp-chaxun</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-log-theme"></i>
                    <div class="name">日志主题管理</div>
                    <div class="fontclass">.ibsp-log-theme</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-alarm-statistics"></i>
                    <div class="name">报警统计</div>
                    <div class="fontclass">.ibsp-alarm-statistics</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-modify-password"></i>
                    <div class="name">修改密码</div>
                    <div class="fontclass">.ibsp-modify-password</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-system-extension"></i>
                    <div class="name">系统扩展管理</div>
                    <div class="fontclass">.ibsp-system-extension</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-for-help"></i>
                    <div class="name">求助分组管理</div>
                    <div class="fontclass">.ibsp-for-help</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-real-time-alarm"></i>
                    <div class="name">实时报警</div>
                    <div class="fontclass">.ibsp-real-time-alarm</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-basic-information"></i>
                    <div class="name">基本信息</div>
                    <div class="fontclass">.ibsp-basic-information</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-subscription"></i>
                    <div class="name">订阅管理</div>
                    <div class="fontclass">.ibsp-subscription</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-history-alarm"></i>
                    <div class="name">历史报警</div>
                    <div class="fontclass">.ibsp-history-alarm</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-personality-settings"></i>
                    <div class="name">个性设置</div>
                    <div class="fontclass">.ibsp-personality-settings</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-page-management"></i>
                    <div class="name">页面管理</div>
                    <div class="fontclass">.ibsp-page-management</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-inquiry"></i>
                    <div class="name">自由查询</div>
                    <div class="fontclass">.ibsp-inquiry</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-group"></i>
                    <div class="name">团队</div>
                    <div class="fontclass">.ibsp-group</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-maintain"></i>
                    <div class="name">作业组维护</div>
                    <div class="fontclass">.ibsp-maintain</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-personal"></i>
                    <div class="name">个人</div>
                    <div class="fontclass">.ibsp-personal</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-network-management"></i>
                    <div class="name">网络管理</div>
                    <div class="fontclass">.ibsp-network-management</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-generator-room"></i>
                    <div class="name">机房动环</div>
                    <div class="fontclass">.ibsp-generator-room</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-video-surveillance"></i>
                    <div class="name">视频监控</div>
                    <div class="fontclass">.ibsp-video-surveillance</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-building-automation"></i>
                    <div class="name">楼宇自控</div>
                    <div class="fontclass">.ibsp-building-automation</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-burglar-alarm"></i>
                    <div class="name">防盗报警</div>
                    <div class="fontclass">.ibsp-burglar-alarm</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-lighting"></i>
                    <div class="name">智能照明</div>
                    <div class="fontclass">.ibsp-lighting</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-information-delivery"></i>
                    <div class="name">信息发布</div>
                    <div class="fontclass">.ibsp-information-delivery</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-cabinet-settings"></i>
                    <div class="name">机柜设置</div>
                    <div class="fontclass">.ibsp-cabinet-settings</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-notifications"></i>
                    <div class="name">通知管理</div>
                    <div class="fontclass">.ibsp-notifications</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-task-plan"></i>
                    <div class="name">任务计划</div>
                    <div class="fontclass">.ibsp-task-plan</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-icon-elements"></i>
                    <div class="name">图标元素</div>
                    <div class="fontclass">.ibsp-icon-elements</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-rank"></i>
                    <div class="name">例外等级</div>
                    <div class="fontclass">.ibsp-rank</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-login-settings"></i>
                    <div class="name">登录设置</div>
                    <div class="fontclass">.ibsp-login-settings</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-equipments"></i>
                    <div class="name">设备占比</div>
                    <div class="fontclass">.ibsp-equipments</div>
                </li>
            
                <li>
                <i class="icon iconfont ibsp-service-directory"></i>
                    <div class="name">服务目录</div>
                    <div class="fontclass">.ibsp-service-directory</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">ibsp-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
